From: Varun Wadekar Date: Thu, 30 Nov 2017 01:14:24 +0000 (-0800) Subject: Tegra: memctrl_v2: remove usage of ENABLE_SMMU_DEVICE config X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=fc5adf7d1b48c9cdb47229bfed680aec7be6999b;p=project%2Fbcm63xx%2Fatf.git Tegra: memctrl_v2: remove usage of ENABLE_SMMU_DEVICE config This patch removes the usage of this platform config, as it is always enabled by all the supported platforms. Change-Id: Ie7adb641adeb3604b177b6960b797722d60addfa Signed-off-by: Varun Wadekar --- diff --git a/plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c b/plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c index 15314e72..a3ef5e13 100644 --- a/plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c +++ b/plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c @@ -51,10 +51,9 @@ void tegra_memctrl_setup(void) INFO("Tegra Memory Controller (v2)\n"); -#if ENABLE_SMMU_DEVICE /* Program the SMMU pagesize */ tegra_smmu_init(); -#endif + /* Get the settings from the platform */ assert(plat_mc_settings != NULL); mc_streamid_override_regs = plat_mc_settings->streamid_override_cfg; diff --git a/plat/nvidia/tegra/soc/t186/platform_t186.mk b/plat/nvidia/tegra/soc/t186/platform_t186.mk index 64344352..d486af2d 100644 --- a/plat/nvidia/tegra/soc/t186/platform_t186.mk +++ b/plat/nvidia/tegra/soc/t186/platform_t186.mk @@ -17,9 +17,6 @@ $(eval $(call add_define,RELOCATE_TO_BL31_BASE)) ENABLE_CHIP_VERIFICATION_HARNESS := 0 $(eval $(call add_define,ENABLE_CHIP_VERIFICATION_HARNESS)) -ENABLE_SMMU_DEVICE := 1 -$(eval $(call add_define,ENABLE_SMMU_DEVICE)) - RESET_TO_BL31 := 1 PROGRAMMABLE_RESET_ADDRESS := 1